FROM alpine
#FROM golang:alpine
MAINTAINER hp peng.hao@gmail.com

ENV GO111MODULE=on \
	GOPROXY="https://goproxy.cn,direct"

WORKDIR $GOPATH/src/godemo

COPY . $GOPATH/src/godemo


RUN go build main.go

EXPOSE 8000

ENTRYPOINT ["./main"]
